
export interface IHomeState {
    list: string
}

export interface ILHomeState extends IHomeState {
    SORTREVERSE: () => void
}

interface IInitState {
    home: IHomeState
    user: {
        userInfo: any
        collData: any
        followData: any
        footprintData: any
        msgData: any
        orderData: any
        orderIndex: any
        orderDetail: any
        returnpolicyData: any
        returnDetail: any
        returnList: any
        selectExpressData: any
        userBalance: any
        userBill: any
        userBeanBill: any
        newAddress: any
        userBeans: any
        userCreditor: any
        userBalanceSelectBank: any
        userDebt: any
        userDebtManagerID: any
        userDebtReceiveHD: any
        userDebtReceiveHDAll: any
        userDebtReceiveHDSold: any
        userHypoReceiveHD: any
        userHypoReceiveHDAll: any
        userHypoReceiveHDSold: any
        userBeanSoldListAll: any
        userBeanSoldListSold: any
        userBeanSoldListUnsold: any
        defaultAddress: any
        expressInfo: any
        suerSignature: any
        suerSignatureStatus: any
        wxInfo: any
        userBlanceBillCount: any
        userBeanBillCount: any
        userHypoExchangeList: any
        userDebtExchangeList: any
        userDebtExchangeListRecord: any
    }
    detail: {
        list: any
        info: any
        addressData: any
        spec: any
        cartData: any
        shopBusInfo: any
        shopBusRX: any
        shopBusPromotion: any
        shopBusAll: any
        shopBusNew: any
        shopBusCategory: any
        userHypoDetail: any
        isAutoSelect: any
        categoryThirdList: any
        categoryThirdIndex: any
        categorySecondIndex: any
    }
    cate: {
        lists: any
    }
    beans: {
        order: any
    },
    hist: {
        path: any
    }
}

const initState: IInitState = {
    home: {
        list: 'ssssssssssssss'
    },
    cate: {
        lists: []
    },
    user: {
        userInfo: {},
        collData: [],
        followData: [],
        footprintData: [],
        msgData: {
            all: { count: 0, content: '' },
            logmsg: { count: 0, content: '' },
            salemsg: { count: 0, content: '' },
            sysmsg: { count: 0, content: '' },
            usermsg: { count: 0, content: '' }
        },
        orderData: {},
        orderIndex: 0,
        orderDetail: {},
        returnpolicyData: [],
        returnDetail: {},
        returnList: {
            0: [],
            1: []
        },
        selectExpressData: [],
        userBalance: {},
        userBill: {},
        newAddress: {
            name: '',
            tel: '',
            userId: '',
            province: '',
            city: '',
            area: '',
            address: '',
            code: '',
            status: false
        },
        userBeans: {},
        userBeanBill: {},
        userCreditor: {},
        userBalanceSelectBank: '',
        userDebt: {},
        userDebtManagerID: '',
        userDebtReceiveHD: [],
        userDebtReceiveHDAll: [],
        userDebtReceiveHDSold: [],
        userHypoReceiveHD: [],
        userHypoReceiveHDAll: [],
        userHypoReceiveHDSold: [],
        userBeanSoldListAll: [],
        userBeanSoldListSold: [],
        userBeanSoldListUnsold: [],
        defaultAddress: {},
        expressInfo: {
            data: []
        },
        suerSignature: '',
        suerSignatureStatus: '',
        wxInfo: {},
        userBlanceBillCount: {},
        userBeanBillCount: {},
        userHypoExchangeList: [],
        userDebtExchangeList: [],
        userDebtExchangeListRecord: []
    },
    detail: {
        list: {
            0: [],
            1: [],
            2: []
        },
        info: {},
        addressData: [],
        spec: [],
        cartData: [],
        shopBusInfo: {},
        shopBusRX: [],
        shopBusPromotion: [],
        shopBusAll: [],
        shopBusNew: [],
        shopBusCategory: [],
        isAutoSelect: false,
        userHypoDetail: {},
        categoryThirdList: [],
        categoryThirdIndex: 0,
        categorySecondIndex: 0,
    },
    beans: {
        order: {}
    },
    hist: {
        path: ''
    }
}

export default initState